package com.gallop.akka;

public enum ActorProviderType {
    local,
    remote,
    cluster,
    cluster_sharding("cluster"),
    ;

    private String value;

    ActorProviderType(String provider) {
        this.value = provider;
    }

    ActorProviderType() {
    }

    public String getValue() {
        return value == null ? name() : value;
    }
}
